package com.caul.demo.drools.model;

import java.math.BigDecimal;

/**
 * Created by sdliang on 2018/4/18.
 */
public class Product {

  private String id;
  private String name;
  private BigDecimal price;
  private ProductType type;

  public Product(String id, String name, BigDecimal price, ProductType type) {
    this.id = id;
    this.name = name;
    this.price = price;
    this.type = type;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public BigDecimal getPrice() {
    return price;
  }

  public void setPrice(BigDecimal price) {
    this.price = price;
  }

  public ProductType getType() {
    return type;
  }

  public void setType(ProductType type) {
    this.type = type;
  }
}
